#include('./partial/header.html', {title: article.title })
 	<div class="container">
		<div class="row">
			<section id="main" class='col-md-8'>
				<article itemscope itemtype="http://schema.org/BlogPosting">
					<div class="kratos-hentry kratos-post-inner clearfix">
						<header class="kratos-entry-header">
							<h1 class="kratos-entry-title text-center">${title()}</h1>
						</header>
						<div class="kratos-post-content">${show_content()}</div>
						<footer class="kratos-entry-footer clearfix">
							<div class="post-like-donate text-center clearfix" id="post-like-donate">
					   			<a href="javascript:;" class="Donate"><i class="fa fa-bitcoin"></i> 打赏</a>
										<a href="javascript:;" id="btn" data-action="love" data-id="1" class="Love  done"><i class="fa fa-thumbs-o-up"></i> 点赞</a>
					   					<a href="javascript:;"  class="Share" ><i class="fa fa-share-alt"></i> 分享</a>
								<div class="panel-reward" style="display: none;">
									<ul class="dsye">
										#if(theme_option('alipay') == "")
										<li class="alipay"><img alt="打赏" src="${theme_url('/static/images/alipay.jpg')}"><b>支付宝扫一扫</b></li>
										#else
										<li class="alipay"><img alt="打赏" src="${theme_option('alipay')}"><b>支付宝扫一扫</b></li>
										#end
										#if(theme_option('weixinpay') == "")
										<li class="weixinpay"><img alt="打赏" src="${theme_url('/static/images/weixinpay.jpg')}"><b>微信扫一扫</b></li>
										#else
										<li class="weixinpay"><img alt="打赏" src="${theme_option('weixinpay')}"><b>微信扫一扫</b></li>
										#end
										#if(theme_option('qqpay') == "")
										<li class="txpay"><img alt="打赏" src="${theme_url('/static/images/qqpay.jpg')}"><b>企鹅扫一扫</b></li>
										#else
										<li class="txpay"><img alt="打赏" src="${theme_option('qqpay')}"><b>企鹅扫一扫</b></li>
										#end
									</ul>
								</div>
								<div class="share-wrap" style="display: none;">
									<div class="share-group">
										<a href="javascript:;" class="share-plain twitter" onclick="share('qq');" rel="nofollow">
											<div class="icon-wrap">
												<i class="fa fa-qq"></i>
											</div>
										</a>
										<a href="javascript:;" class="share-plain weibo" onclick="share('weibo');" rel="nofollow">
											<div class="icon-wrap">
												<i class="fa fa-weibo"></i>
											</div>
										</a>
										<a href="javascript:;" class="share-plain facebook style-plain" onclick="share('facebook');" rel="nofollow">
											<div class="icon-wrap">
												<i class="fa fa-facebook"></i>
											</div>
										</a>
										<a href="javascript:;" class="share-plain googleplus style-plain" onclick="share('googleplus');" rel="nofollow">
											<div class="icon-wrap">
												<i class="fa fa-google-plus"></i>
											</div>
										</a>
										<a href="javascript:;" class="share-plain weixin pop style-plain" rel="nofollow">
											<div class="icon-wrap">
												<i class="fa fa-weixin"></i>
											</div>
											<div class="share-int">
												<div class="qrcode" data-url="${permalink()}"></div>
												<p>打开微信“扫一扫”，打开网页后点击屏幕右上角分享按钮</p>
											</div>
										</a>
									</div>
									<script type="text/javascript">
										function share(obj){
											var qqShareURL="http://connect.qq.com/widget/shareqq/index.html?";
											var weiboShareURL="http://service.weibo.com/share/share.php?";
											var facebookShareURL="https://www.facebook.com/sharer/sharer.php?";
											var twitterShareURL="https://twitter.com/intent/tweet?";
											var googleplusShareURL="https://plus.google.com/share?";
											var host_url="${permalink()}";
											var title="【${title()}】";
											var qqtitle="${title()}";
											var excerpt=`${intro(75)}...`;
											var pic="${site_url()}${show_thumb(article)}";
											var appkey="sina_appkey";
											var _URL;
											if(obj=="qq"){
												_URL=qqShareURL+"url="+host_url+"&title="+qqtitle+"&pics="+pic+"&desc=&summary="+excerpt+"&site=vtrois";
											}else if(obj=="weibo"){
												_URL=weiboShareURL+"url="+host_url+"&appkey="+appkey+"&title="+title+excerpt+"&pic="+pic;
											}else if(obj=="facebook"){
										 		_URL=facebookShareURL+"u="+host_url;
											}else if(obj=="twitter"){
										 		_URL=twitterShareURL+"text="+title+excerpt+"&url="+host_url;
											}else if(obj=="googleplus"){
										 		_URL=googleplusShareURL+"url="+host_url;
											}
											window.open(_URL);
										}
									</script>
								</div>
							</div>
						</footer>
					</div>
				</article>
				#include('./partial/comments.html')
			</section>
			#include('./partial/sidebar.html')
		</div>
	</div>
</div>
#include('./partial/footer.html')
